<%@page contentType="text/html" pageEncoding="UTF-8"%>

<%@ taglib uri="http://struts.apache.org/tags-html" prefix="html"%>
<%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean"%>

<link href="style.css" rel="stylesheet" type="text/css" >

<body class="body" > 
<h1><bean:message key="label.loginForm" /></h1>

	<html:form action="/login" method="POST">
		<table border='1' align="center" width="300">
			<tr>
				<td >
					<bean:message key="label.username" />
				</td>
				<td > 
					<html:text	property="userName"></html:text>
					<html:errors property="userName" />
				</td>
			</tr>
			<tr>
				<td >
					<bean:message key="label.password" /> 
				</td>
				<td >	
					<html:password	property="password"></html:password> 
					<html:errors	property="password" /></td>
			</tr>
			<tr>
				<td>
				</td>
				<td>
					<html:submit property="login" ><bean:message key="button.login" /></html:submit>
					<html:reset property="reset" ><bean:message key="button.reset" /></html:reset>
				</td>
			</tr>
		</table>
	</html:form>
	</body>